package com.classroompie.classroompieserver.service;

import com.classroompie.classroompiepojo.request.AddHomeWorkInput;
import com.classroompie.classroompiepojo.request.SubmitHomeworkInput;
import com.classroompie.classroompiepojo.response.*;

import java.util.List;

/**
 * @author jiahao
 * @since 2024/6/22 周六
 */
public interface HomeworkService {
    void addHomework(AddHomeWorkInput addHomeWorkInput);

    List<GetTeacherHomeworkVO> getTeacherHomework(String courseId);


    List<CorrectHomeworkVO> getCorrectHomeworkList(String homeworkId);

    TeacherHomeWorkDetailVO getHomeworkDetail(String homeworkId);

    List<GetStudentHomeworkVO> getStudentHomework(String courseId);

    StudentHomeworkDetailVO getStudentHomeworkDetail(String homeworkId);

    void submitHomework(String homeworkId, SubmitHomeworkInput submitHomeworkInput);

    void correctHomework(String homeworkId, String studentId,Double score);
}
